﻿using System;
using System.Reflection;

namespace Mangopollo.Tasks
{
    public class MapUpdaterTask
    {
        public void Show()
        {
            Type taskDataType = Type.GetType("Microsoft.Phone.Tasks.MapUpdaterTask, Microsoft.Phone");
            object task = taskDataType.GetConstructor(new Type[] {}).Invoke(null);
            MethodInfo showmethod = taskDataType.GetMethod("Show");
            showmethod.Invoke(task, new object[] {});
        }
    }
}